<?php

namespace App\Models\product;

use App\Models\BaseModel;

class ProductSonModel extends BaseModel
{
    protected $table = 'product_son';
    protected $primaryKey = 'id';


    public function product(): \Illuminate\Database\Eloquent\Relations\BelongsTo
    {
        return $this->belongsTo(ProductModel::class, 'product_id', 'id');
    }
}
